package org.linlinjava.litemall.db.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.BusinessProject;
import org.linlinjava.litemall.db.domain.BusinessProjectExample;

public interface BusinessProjectMapper {
    long countByExample(BusinessProjectExample example);

    int deleteByExample(BusinessProjectExample example);

    int deleteByPrimaryKey(String projectId);

    int insert(BusinessProject record);

    int insertSelective(BusinessProject record);

    BusinessProject selectOneByExample(BusinessProjectExample example);

    BusinessProject selectOneByExampleSelective(@Param("example") BusinessProjectExample example, @Param("selective") BusinessProject.Column ... selective);

    List<BusinessProject> selectByExampleSelective(@Param("example") BusinessProjectExample example, @Param("selective") BusinessProject.Column ... selective);

    List<BusinessProject> selectByExample(BusinessProjectExample example);

    BusinessProject selectByPrimaryKeySelective(@Param("projectId") String projectId, @Param("selective") BusinessProject.Column ... selective);

    BusinessProject selectByPrimaryKey(String projectId);

    int updateByExampleSelective(@Param("record") BusinessProject record, @Param("example") BusinessProjectExample example);

    int updateByExample(@Param("record") BusinessProject record, @Param("example") BusinessProjectExample example);

    int updateByPrimaryKeySelective(BusinessProject record);

    int updateByPrimaryKey(BusinessProject record);
}